def checkType(obj, validType, message=""):
    if type(obj) != validType:
        raise TypeError(message)


def checkValue(expression: bool, message=""):
    if not expression:
        raise ValueError(message)


def isTrue(expression, message=""):
    if not expression:
        raise Exception(message)
